package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * MinIO图片上传服务启动类
 */
@SpringBootApplication
public class UploadServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(UploadServiceApplication.class, args);
        System.out.println("========================================");
        System.out.println("MinIO图片上传服务启动成功！");
        System.out.println("服务地址: http://localhost:8081");
        System.out.println("健康检查: http://localhost:8081/upload/health");
        System.out.println("面诊图片上传: POST http://localhost:8081/upload/faceImage");
        System.out.println("舌诊图片上传: POST http://localhost:8081/upload/tongueImage");
        System.out.println("========================================");
    }
}



